package com.example.demo.service;

import com.example.demo.common.entity.ParamBase;
import com.example.demo.common.entity.ParamPage;
import com.example.demo.common.util.ListResult;
import com.example.demo.common.util.OptResult;

import java.util.Map;



public interface DbClueInfodxjService {

	// 新增或修改商机信息
	OptResult InsertOrUpdate(ParamBase<Map<String, Object>> paramBase, String token);

	// 获取商机信息（含分页数据）
	ListResult<Map<String, Object>> GetClueList(ParamPage<Map<String, Object>> paramPage);

	// 商机跟踪
	OptResult FollowUpClue(ParamBase<Map<String, Object>> paramBase, String token);

	// 获取商机跟踪历史信息
	ListResult<Map<String, Object>> GetClueFollowList(ParamPage<Map<String, Object>> paramPage);

	// 分配商机DistClue
	OptResult DistClue(ParamBase<Map<String, Object>> paramBase, String token);

	// 战败审核线索列表 GetCheckFailClueList
	ListResult<Map<String, Object>> GetCheckFailClueList(ParamPage<Map<String, Object>> paramPage);

	// 战败审核CheckFailClue
	OptResult CheckFailClue(ParamBase<Map<String, Object>> paramBase, String token);

	// 删除商机 DelClue
	OptResult DelClue(ParamBase<Map<String, Object>> paramBase, String token);

	ListResult<Map<String, Object>> selectClueSource(ParamPage<Map<String, Object>> paramPage);

	ListResult<Map<String, Object>> selectCustName(ParamPage<Map<String, Object>> paramPage);

	ListResult<Map<String, Object>> selectIntentProduct(ParamPage<Map<String, Object>> paramPage);

	ListResult<Map<String, Object>> selectIntentLevel(ParamPage<Map<String, Object>> paramPage);
	

	ListResult<Map<String, Object>> dbClueLinkManInfoPage(ParamPage<Map<String, Object>> paramPage);

	OptResult deleteClueLinkManInfo(ParamBase<Map<String, Object>> paramBase, String token);

	OptResult insertClueLinkManInfo(ParamBase<Map<String, Object>> paramBase, String token);

	ListResult<Map<String, Object>> dbClueFollowupPage(ParamPage<Map<String, Object>> paramPage);

}
